package com.retailcloud.thirdpartyservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = { "com.retailcloud.commonutils","com.retailcloud.thirdpartyservice"})
@MapperScan(basePackages = {"com.retailcloud.commonutils.dao"})
@EnableDiscoveryClient
public class RetailcloudThirdPartyServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(RetailcloudThirdPartyServiceApplication.class, args);
    }

}
